package design_patterns.tx;

public class Person {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Person(String name) {
        this.name = name;
    }

    public Person() {
    }
    public void  dance(String name){
        System.out.println(name+"在跳舞");
    }
}
